package com.hzy.dao;

import com.hzy.pojo.Books;
import org.apache.ibatis.annotations.Param;

import java.awt.print.Book;
import java.util.List;

public interface BookMapper {
    //增
    int addBook(Books books);
    //删
    int deleteBookById(@Param("id") int id);
    //改
    int updateBook(Books books);
    //查
    Books queryBookById(@Param("id") int id);
    List<Books> queryAllBook();
}

